package com.sanyang.lawyer.mapper.record;

import com.baomidou.mybatisplus.extension.api.R;
import com.sanyang.lawyer.entity.Record;
import com.sanyang.lawyer.entity.Recordpage;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

@Repository
public interface RecordMapper {
    //添加档案
    public void insertrecord(Record record);
    //删除档案
    public void deleterecord(Record record);
//    修改档案
    public void updaterecord(Record record);
    //查询所有档案
    public List<Record> listmyrecordall(Map<String,Object> map);
    public List<Record> listrecordall(Map<String,Object> map);
    //查询单个档案
    public Record getbyrecord(int recordId);
    //查询档案表的数据总数
    public int getcountrecord(Recordpage recordpage);
    //查询单个档案多条件
    public Record getrecord(Record record);
    //查询url指定的文件名称
    public Record getbyurl(String fileurl);
}
